#ifndef __PICK_BOT_H__
#define __PICK_BOT_H__
#include "common.h"
#include "tcc_astar.h"

typedef struct 
{
	tcc_astar* astar;
	astar_node* path;
	astar_node* node;
	MapPoint dst_pos;
}PcikBot;

PcikBot* pcik_bot_new();
void pcik_bot_init(PcikBot* bot);

void pcik_bot_delete(PcikBot* bot);

void pcik_bot_update(PcikBot* bot);
bool pcik_bot_auto_move(PcikBot* bot, MapPointX x, MapPointY y);

#endif //_PICK_BOT_H__